package info.liuxing.okhttp.config;

/**
 * TequestTag
 *
 * @author liuxing (SE)
 * @summary TequestTag
 * @Copyright (c) 2017, Lianjia Group All Rights Reserved.
 * @since 2017-12-04 19:26
 */
public class RequestTag {

    TimeoutConfig.Timeout timeout;

    public TimeoutConfig.Timeout getTimeout() {
        return timeout;
    }

    public static class Builder {

        TimeoutConfig.Timeout timeout;

        public Builder timeout(TimeoutConfig.Timeout timeout) {
            this.timeout = timeout;
            return this;
        }

        public RequestTag build() {
            RequestTag tag = new RequestTag();
            tag.timeout = this.timeout;
            return tag;
        }
    }

}
